package org.jeecg.modules.bobo.common.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.jeecg.modules.bobo.common.aspect.annotation.LbAbsFileUrl;
import org.jeecg.modules.bobo.common.aspect.annotation.LbDict;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;

/**
 * @program: jeecg-boot-parent
 * @description:
 * @author: 三千霜
 * @create: 2020-10-30 16:53
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value="用户信息model")
public class UserModel implements Serializable {
    /**主键id*/
    @ApiModelProperty(value = "主键id")
    private String id;
    /**登录账号*/
    @ApiModelProperty(value = "登录账号")
    private String username;
    /**真实姓名*/
    @ApiModelProperty(value = "真实姓名")
    private String realname;
    /**密码*/
    @ApiModelProperty(value = "密码")
    private String password;
    /**md5密码盐*/
    @ApiModelProperty(value = "openId")
    private String openId;
    /**头像*/
    @ApiModelProperty(value = "头像")
    @LbAbsFileUrl
    private String avatar;
    /**性别(0-默认未知,1-男,2-女)*/
    @LbDict(dictTable = "sex", dictText = "", dictCode = "")
    @ApiModelProperty(value = "性别(0-默认未知,1-男,2-女)")
    private Integer sex;
    /**电子邮件*/
    @ApiModelProperty(value = "电子邮件")
    private String email;
    /**电话*/
    @ApiModelProperty(value = "电话")
    private String phone;
    /**状态(1-正常,0-冻结)*/
    @LbDict(dictTable = "status", dictText = "", dictCode = "")
    @ApiModelProperty(value = "状态(1-正常,0-冻结)")
    private Integer status;
}
